<template>
	<router-view></router-view>
</template>

<script>
export default {
	watch: {
		$route: {
			handler(data) {
				if (data.name === 'dataPubliclib') {
					this.$router.push(`/data/publiclib/${window.publicLibId}`);
				}
			},
			immediate: true
		}
	}
};
</script>

<style scoped></style>
